package com.tcm.doctor.domain.dto;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

public class BankAccountDTO implements Serializable {
    private Long id;

    private Long userId;

    @NotNull(message = "请输入开户姓名")
    private String name;

    @NotNull(message = "请输入省")
    private String province;

    @NotNull(message = "请输入市")
    private String city;

    @NotNull(message = "请输入开户行")
    private String bankName;

    @NotNull(message = "请输入银行网点")
    private String bankBranches;

    @NotNull(message = "请输入银行卡号")
    private String bankAccount;

    private String idcardFront;

    private String idcardBack;

    private Byte isVerify;

    private Date createTime;

    private Date updateTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province == null ? null : province.trim();
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city == null ? null : city.trim();
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName == null ? null : bankName.trim();
    }

    public String getBankBranches() {
        return bankBranches;
    }

    public void setBankBranches(String bankBranches) {
        this.bankBranches = bankBranches == null ? null : bankBranches.trim();
    }

    public String getBankAccount() {
        return bankAccount;
    }

    public void setBankAccount(String bankAccount) {
        this.bankAccount = bankAccount == null ? null : bankAccount.trim();
    }

    public String getIdcardFront() {
        return idcardFront;
    }

    public void setIdcardFront(String idcardFront) {
        this.idcardFront = idcardFront == null ? null : idcardFront.trim();
    }

    public String getIdcardBack() {
        return idcardBack;
    }

    public void setIdcardBack(String idcardBack) {
        this.idcardBack = idcardBack == null ? null : idcardBack.trim();
    }

    public Byte getIsVerify() {
        return isVerify;
    }

    public void setIsVerify(Byte isVerify) {
        this.isVerify = isVerify;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}